package com.jiazhong.mingxing.project.bookstore.front;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableCaching
@MapperScan("com.jiazhong.mingxing.project.bookstore.commons.mapper")
@ComponentScan("com.jiazhong.mingxing.project.bookstore")
// 加载过滤器
//@ServletComponentScan("com.jiazhong.mingxing.project.bookstore.front.filter")
public class BookstoreFrontApplication {
    public static void main(String[] args) {
        SpringApplication.run(BookstoreFrontApplication.class, args);
    }
}